const express = require('express')
const app = express()
const cors = require('cors')
const Router = require('./router/router')
const uuid = require('node-uuid')



app.use(express.urlencoded({ extended: false }))
app.use(express.json())
app.use(cors())
app.use(Router)




app.listen(8000, (err) => {
    if (err) {
        console.log(err)
    } else {
        console.log(uuid())
        console.log('http://127.0.0.1:8000')
    }
})
